﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FirstFloor.ModernUI.Presentation
{
    /// <summary>
    /// Represents a displayable link.
    /// </summary>
    public class Link
        : Displayable
    {
        private Uri source;

        /// <summary>
        /// Gets or sets the source uri.
        /// </summary>
        /// <value>The source.</value>
        public Uri Source
        {
            get { return this.source; }
            set
            {
                if (this.source != value) {
                    this.source = value;
                    OnPropertyChanged("Source");
                }
            }
        }

        //private Object _viewModel;
        ///// <summary>
        ///// ViewModel
        ///// </summary>
        //public Object ViewModel
        //{
        //    get { return this._viewModel; }
        //    set
        //    {
        //        if (this._viewModel != value)
        //        {
        //            this._viewModel = value;
        //            OnPropertyChanged("ViewModel");
        //        }
        //    }
        //}

    }
}
